package com.example.pathprotectsystem.service.impl;

import com.example.pathprotectsystem.mapper.MapMapper;
import com.example.pathprotectsystem.pojo.Point;
import com.example.pathprotectsystem.service.MapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MapServiceImpl implements MapService {
    @Autowired
    private MapMapper mapMapper;

    @Override
    public void setstlnglat(Point st,String pathName) {
        mapMapper.setstlnglat(st,pathName);
    }

    @Override
    public void setedlnglat(Point ed, String pathName) {
        mapMapper.setedlnglat(ed,pathName);
    }
}
